From dbbfcda994f0158205f0a45d18dabba865aa628b Mon Sep 17 00:00:00 2001 From: tsteven4 Date: Wed, 11 Jun 2014 07:47:30 +0000 Subject: [PATCH] fix test-all so tallying the results won't die trying to list non-existent fatal errors if -e is set. --- gpsbabel/test-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/test-all b/gpsbabel/test-all index cc0755e72..dad2b102b 100755 --- a/gpsbabel/test-all +++ b/gpsbabel/test-all @@ -27,7 +27,7 @@ function tally_log() local fatals=`grep '^cmd([0-9]*)\*\*\*:' $LOGFILE | wc -l` local totals=`grep '^cmd([0-9]*)[*]*:' $LOGFILE | wc -l` echo "Fatal Error Cases:" - grep '^cmd([0-9]*)\*\*\*:' $LOGFILE + grep '^cmd([0-9]*)\*\*\*:' $LOGFILE || true echo "" echo Error Summary: echo "tests with errors and/or unexpected output: $exceptions" -- 2.30.2